package hidalgo.expenses.entities;

import java.io.Serializable;

public class Session implements Serializable{

	private static final long serialVersionUID = 1L;
	
	private int sessionId;
	private String token;
	private int userId;

	public Session() {

	}

	public Session(int sessionId, String token, int userId) {
		this.sessionId = sessionId;
		this.token = token;
		this.userId = userId;
	}

	public void setSessionId(int sessionId) {
		this.sessionId = sessionId;
	}

	public int getSessionId() {
		return sessionId;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public String getToken() {
		return token;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public int getUserId() {
		return userId;
	}

}
